package cn.thoughtworks.school.entities.commands;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
public class CreateUserRoleCommand {
    private Long userId;
    private Integer roleNumber;
    private Long organizationId;
    private String type;

  public CreateUserRoleCommand(Long organizationId, Long userId, Integer roleNumber, String type) {
    this.userId = userId;
    this.organizationId= organizationId;
    this.roleNumber = roleNumber;
    this.type = type;
  }
}
